module.exports = function(app) {
  var express = require('express');
  var loginState = require('../fixtures/loginState');
  var logoutRouter = express.Router();

  logoutRouter.get('/', function(req, res) {
    loginState.logout();
    res.redirect("/");
  });

  app.use('/logout', logoutRouter);
};
